package com.gc.jbnfgen.gen;

/**
 *
 * @author dmitry.mamonov
 */
public class Value extends JBNF {
    private Class<?> type;
    public Value(Class<?> type,String name) {
        super(name);
        this.type=type;
    }

    public Class<?> getType() {
        return type;
    }

    @Override
    public String toString() {
        return "'" + getName() + "'";
    }
}